<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
?>

<div class="row-fluid">
	<div class="span8 offset2">
		<form class="form-horizontal well" action="<?php echo Yii::app()->getUrlManager()->createUrl('site/register'); ?>" method="post">
			<fieldset>
				<legend>用户注册</legend>
				<div class="control-group">
					<label class="control-label">电子邮箱</label>
					<div class="controls">
						<input type="email" name="email" placeholder="电子邮箱" />
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">密码</label>
					<div class="controls">
						<input type="password" placeholder="密码" />
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">重复密码</label>
					<div class="controls">
						<input type="password" placeholder="重复密码" />
					</div>
				</div>
				<input type="hidden" name="password" />
				<div class="form-actions">
					<input type="submit" value="注册" class="btn btn-primary" />
				</div>
			</fieldset>
		</form>
	</div>
</div>